package Service;

import fake.domain.Book.Book;

import java.math.BigDecimal;
import java.time.LocalDate;
import java.util.List;

/**
 * @ClassName:BookService
 * @Author: 鹿建文
 * @Date: 2022/3/24  - 14:18
 * @Describe:
 */
public interface BookService {
    Book getBookByISBN(String isbn);

    Book getBookBybname(String bname);

    Book getBookByauthor(String author);

    //    Book getBookBydate(LocalDate date);
    Book getBookBypress(String press);

    List<Book> getBookBysal(BigDecimal min, BigDecimal max);

    boolean updatebook(Book book);

    boolean addbook(Book book);

}
